package com.gitee.feizns.test.domain.pojo;

import com.gitee.feizns.quickstart.ddl.annotation.Comment;
import com.gitee.feizns.quickstart.mybatis.flex.jpa.SnowFlakeIdIdPojo;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Entity;

/**
 * @author feizns
 * @since 2024/12/6
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
//@Comment("测试")
@Table("hello")
@Entity
public class Hello extends SnowFlakeIdIdPojo<Hello> {

//    /**
//     * 编号
//     */
//    @Comment("编号")
//    @Id(keyType = KeyType.Auto)
//    private Long id;

    /**
     * 姓名
     */
    @Comment("姓名")
    private String name;

//    /**
//     * 创建时间
//     */
////    @Comment("创建时间")
//    private LocalDateTime createTime;

}
